package cn.yl.consumerOpenfeign.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient("provider") // 参数 serviceId
public interface ProviderService {
    @GetMapping("/provider/port")
    String getPort();

    @GetMapping("/provider/feign/timeout")
    String providerFeignTimeOut();
}
